package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 house_info
 * 
 * @author ruoyi
 * @date 2024-05-15
 */
public class HouseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 房源id */
    @Excel(name = "房源id")
    private Long houseid;

    /** 楼 */
    @Excel(name = "楼")
    private String floor;

    /** 栋 */
    @Excel(name = "栋")
    private String building;

    /** 租房id */
    @Excel(name = "租房id")
    private Long rentid;

    /** 建筑面积 */
    @Excel(name = "建筑面积")
    private String floorArea;

    /** 建筑年代 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "建筑年代", width = 30, dateFormat = "yyyy-MM-dd")
    private Date architecturalAge;

    /** 配置设施 */
    @Excel(name = "配置设施")
    private String infoFacility;

    /** 房源描述 */
    @Excel(name = "房源描述")
    private String houseDescription;

    /** 业主id */
    @Excel(name = "业主id")
    private Long proprietorid;

    /** 看房id */
    @Excel(name = "看房id")
    private Long lookid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHouseid(Long houseid) 
    {
        this.houseid = houseid;
    }

    public Long getHouseid() 
    {
        return houseid;
    }
    public void setFloor(String floor) 
    {
        this.floor = floor;
    }

    public String getFloor() 
    {
        return floor;
    }
    public void setBuilding(String building) 
    {
        this.building = building;
    }

    public String getBuilding() 
    {
        return building;
    }
    public void setRentid(Long rentid) 
    {
        this.rentid = rentid;
    }

    public Long getRentid() 
    {
        return rentid;
    }
    public void setFloorArea(String floorArea) 
    {
        this.floorArea = floorArea;
    }

    public String getFloorArea() 
    {
        return floorArea;
    }
    public void setArchitecturalAge(Date architecturalAge) 
    {
        this.architecturalAge = architecturalAge;
    }

    public Date getArchitecturalAge() 
    {
        return architecturalAge;
    }
    public void setInfoFacility(String infoFacility) 
    {
        this.infoFacility = infoFacility;
    }

    public String getInfoFacility() 
    {
        return infoFacility;
    }
    public void setHouseDescription(String houseDescription) 
    {
        this.houseDescription = houseDescription;
    }

    public String getHouseDescription() 
    {
        return houseDescription;
    }
    public void setProprietorid(Long proprietorid) 
    {
        this.proprietorid = proprietorid;
    }

    public Long getProprietorid() 
    {
        return proprietorid;
    }
    public void setLookid(Long lookid) 
    {
        this.lookid = lookid;
    }

    public Long getLookid() 
    {
        return lookid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("houseid", getHouseid())
            .append("floor", getFloor())
            .append("building", getBuilding())
            .append("rentid", getRentid())
            .append("floorArea", getFloorArea())
            .append("architecturalAge", getArchitecturalAge())
            .append("infoFacility", getInfoFacility())
            .append("houseDescription", getHouseDescription())
            .append("proprietorid", getProprietorid())
            .append("lookid", getLookid())
            .toString();
    }
}
